import {request} from '@@/plugin-request';
import {LoginInterface} from '@/types/interface/login.interface';

export function login(param: LoginInterface) {
    return request<any>('/umi-admin/login', {
        method: 'GET',
        headers: {
            'Content-Type': 'application/json',
        },
        params: param,
    });
}
